from django.contrib import admin

from customer.models import Customer


@admin.register(Customer)
class CustomerAdmin(admin.ModelAdmin):
    list_display = ('name', 'contact_name', 'contact_phone', 'contact_address', 'status',)
    list_display_links = ('name',)
    list_filter = ('status',)
    search_fields = ('name',)
    search_help_text = '请输入客户名称查早'
